Hybrid interconnect/logic circuits enabling efficient replication of a function in several sub-cycles to save logic and routing resources

ABSTRACT

Some embodiments provide a reconfigurable IC that implements a design that is designed at a particular design clock rate. The reconfigurable IC includes reconfigurable circuits for performing operations on a set of inputs in the particular design. The IC further includes routing circuits for routing signals to and from the logic circuits to allow the logic circuits to perform the operations. The reconfigurable IC implements the design by having reconfigurable circuits that reconfigure at a rate faster than the design clock rate. For at least one operation which is defined at the design clock rate, the reconfigurable IC replicates the operation set in at least two reconfiguration cycles to reduce consumption of routing circuits.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is related to the following applications with the same filing date: U.S. patent application Ser. No. 11/269,869, filed Nov. 7, 2005; U.S. patent application Ser. No. 11/269,858, filed Nov. 7, 2005; and U.S. patent application Ser. No. 11/269,518, filed Nov. 7, 2005.

FIELD OF THE INVENTION

The present invention is directed towards using configurable and reconfigurable ICs to perform mathematical operations.

BACKGROUND OF THE INVENTION

The use of configurable integrated circuits (“IC's”) has dramatically increased in recent years. One example of a configurable IC is a field programmable gate array (“FPGA”). An FPGA is a field programmable IC that often has logic circuits, interconnect circuits, and input/output (I/O) circuits. The logic circuits (also called logic blocks) are typically arranged as an internal array of circuits. These logic circuits are typically connected together through numerous interconnect circuits (also called interconnects). The logic and interconnect circuits are often surrounded by the I/O circuits. Like some other configurable IC's, the logic circuits and interconnect circuits of an FPGA are configurable.

FIG. 1 illustrates a portion of a prior art configurable IC 100. As shown in this figure, the IC 100 includes an array of configurable logic circuits 105 and configurable interconnect circuits 110. The IC 100 has two types of interconnect circuits 110 a and 110 b. Interconnect circuits 110 a connect interconnect circuits 110 b and logic circuits 105, while interconnect circuits 110 b connect interconnect circuits 110 a to other interconnect circuits 110 a. In some cases, the IC 100 includes hundreds or thousands of logic circuits 105 and interconnect circuits 110.

FPGA's have become popular as their configurable logic and interconnect circuits allow the FPGA's to be adaptively configured by system manufacturers for their particular applications. Also, in recent years, several configurable IC's have been suggested that are capable of reconfiguration at runtime. However, there has not been much innovation regarding IC's that can configure one or more times during one clock cycle. Consequently, most reconfigurable IC's take several cycles (E.g., tens, hundreds, or thousands of cycles) to reconfigure.

There is a need in the art for configurable IC's that can configure at least once during each clock cycle. Ideally, the configurable IC can configure multiple times within one clock cycle. Such configurability would have many advantages, such as enabling an IC to perform numerous functions within any given clock cycle. There is also a need in the art to make the interconnect circuits configurable. It is desirable to enable some of the interconnect circuits to configurably perform either interconnect operations or logic operations.

SUMMARY OF THE INVENTION

Some embodiments of the invention provide a configurable integrated circuit (“IC”). The configurable IC includes a set of configurable logic circuits for configurably performing a set of functions on a set of inputs. The IC also includes several input select interconnect circuits for selecting the input set supplied to each configurable logic circuit. Each input select interconnect circuit is associated with a particular configurable logic circuit. When a configurable logic circuit is used to perform a multiplication operation, at least one of its associated input select interconnect circuits performs a logic operation that implements part of the multiplication operation.

Some embodiments provide a reconfigurable IC. This IC includes a set of reconfigurable circuits for performing a mathematical operation in more than one reconfiguration cycle. To perform the mathematical operation when at least one operand has n bits, the reconfigurable circuits performs a first sub-operation on m of n bits in a first reconfiguration cycle, and a second sub-operation on p of n bits in a second reconfiguration cycle. The reconfigurable IC also includes at least one storage element for storing at least a portion of the results of the first sub-operation for use during the second reconfiguration cycle in the second sub-operation.

Some embodiments provide a novel way of performing a signed multiplication. In this multiplication, each individual bit of a first operand is multiplied by every bit of a second operand to generate partial multiplication results. Each partial result is shiftably added to other partial results except one partial result which is shiftably subtracted. For the partial result that is subtracted, the most significant bit of the second operand is negated and is utilized as carry in of the subtraction operation. The most significant bit of each operand is considered to have a negative sign when generating the partial multiplication results. The partial multiplication result, which was generated by multiplying the least significant bit of the first operand to every bit of the second operand, is appended with a most significant bit equal to the most significant bit of the second operand. Some embodiments implement this signed multiplication operation using a configurable IC that performs with the same circuitry and at the same cost as addition. The configurable IC also utilizes hybrid interconnect/logic circuits to perform part of the multiplication operation.

Some embodiments provide a reconfigurable IC that implements a design that is designed at a particular design clock rate. The reconfigurable IC includes reconfigurable circuits for performing operations on a set of inputs in the particular design. The IC further includes routing circuits for routing signals to and from the logic circuits to allow the logic circuits to perform the operations. The reconfigurable IC implements the design by having reconfigurable circuits that reconfigure at a rate faster than the design clock rate. For at least one operation which is defined at the design clock rate, the reconfigurable IC replicates the operation set in at least two reconfiguration cycles to reduce consumption of routing circuits.

BRIEF DESCRIPTION OF THE DRAWINGS

The novel features of the invention are set forth in the appended claims. However, for purpose of explanation, several embodiments of the invention are set forth in the following figures.

FIG. 1 illustrates an example of a portion of a prior art configurable IC.

FIG. 2 illustrates a configurable IC of some embodiments in which each four tiles share one carry logic circuit.

FIG. 3 illustrates an example of a 2-by-n bit unsigned multiplier utilizing 1-bit adders.

FIG. 4 conceptually illustrates a 2-by-4 bit unsigned multiplier implemented using a 4-bit adder.

FIG. 5A shows an example of using a 4-bit adder with shared carry and HMUXs as a building block for a 2-by-4 bit unsigned multiplier in some embodiments.

FIG. 5B shows an example of using a 1-input LUT as a building block for a 2-by-4 bit unsigned multiplier in some embodiments.

FIG. 6 illustrates how an AND operation can be performed using an HMUX.

FIG. 7 illustrates a configurable IC doing 2-by-4 bit unsigned multiplication in some embodiments.

FIG. 8 shows an example of a 2-by-n bit unsigned multiplier using 4-bit adders.

FIG. 9 shows an example of a 2-by-8 bit unsigned multiplier using two 4-bit adders.

FIG. 10 illustrates a configurable IC doing 2-by-8 bit unsigned multiplication in some embodiments.

FIG. 11 illustrates a configurable IC doing 2-by-16 bit unsigned multiplication.

FIG. 12A shows an example of an n-bit adder implemented using several 4-bit adders.

FIG. 12B shows an example of an n-bit adder implemented using several 4-bit adders and several 1-bit adders.

FIG. 13 shows an example of a 4-by-4 bit multiplier for multiplying two unsigned numbers.

FIG. 14 illustrates a configurable IC doing 4-by-4 bit unsigned multiplication.

FIG. 15 shows an example of an m-by-n bit multiplier for multiplying two unsigned numbers.

FIG. 16 shows an example of a 16-by-16 bit multiplier for multiplying two unsigned numbers.

FIG. 17 illustrates an example of an m-by-n bit multiplier for multiplying two unsigned numbers.

FIG. 18 illustrates an example of a 16-by-16 bit multiplier for multiplying two unsigned numbers.

FIG. 19 is an example of a 4-by-4 bit 2's complement multiplier of some embodiments.

FIG. 20 illustrates a configurable IC doing 4-by-4 bit 2's compliment multiplication in some embodiments.

FIG. 21 illustrates how a NOT gate and an AND gate with one inverted input can be implemented using an HMUX.

FIG. 22 illustrates implementing a 16-bit adder using four 4-bit adders.

FIG. 23 illustrates a reconfigurable IC implementing a 16-bit adder in four sub-cycles in some embodiments.

FIG. 24 illustrates a reconfigurable IC doing a 2-by-8 bit multiplication in several sub-cycles.

FIG. 25 illustrates an Add-Compare-Select (ACS) block diagram of some embodiments.

FIG. 26 illustrates Distribute Saturate function of some embodiments.

FIG. 27 illustrates components used to implement an ACS in some embodiments.

FIG. 28 shows how a bank of OR gates are implemented by using HMUXs in some embodiments to saturate the output of an adder.

FIG. 29 illustrates the ACS resources vs. space in some embodiments.

FIG. 30 illustrates a configurable IC implementing an ACS in some embodiments.

FIG. 31 illustrates the ACS resources vs. time in some embodiments.

FIG. 32 illustrates a reconfigurable IC implementing an ACS in four sub-cycles in some embodiments.

FIG. 33 conceptually illustrates an example of an electronics system that includes an IC of the invention.

FIG. 34 illustrates an eight-to-one HMUX that is formed by four multiplexers.

DETAILED DESCRIPTION OF THE INVENTION

In the following description, numerous details are set forth for purpose of explanation. However, one of ordinary skill in the art will realize that the invention may be practiced without the use of these specific details. For instance, not all embodiments of the invention need to be practiced with the specific number of bits and/or specific devices (e.g., multiplexers) referred to below. In other instances, well-known structures and devices are shown in block diagram form in order not to obscure the description of the invention with unnecessary detail.

I. Overview

Some embodiments of the invention provide a configurable integrated circuit (“IC”). The configurable IC includes a set of configurable logic circuits for configurably performing a set of functions on a set of inputs. The IC also includes several input select interconnect circuits for selecting the input set supplied to each configurable logic circuit. Each input select interconnect circuit is associated with a particular configurable logic circuit. When a configurable logic circuit is used to perform a multiplication operation, at least one of its associated input select interconnect circuits performs a logic operation that implements part of the multiplication operation.

Some embodiments provide a reconfigurable IC. This IC includes a set of reconfigurable circuits for performing a mathematical operation in more than one reconfiguration cycle. To perform the mathematical operation when at least one operand has n bits, the reconfigurable circuits performs a first sub-operation on m of n bits in a first reconfiguration cycle, and a second sub-operation on p of n bits in a second reconfiguration cycle. The reconfigurable IC also includes at least one storage element for storing at least a portion of the results of the first sub-operation for use during the second reconfiguration cycle in the second sub-operation.

Some embodiments provide a novel way of performing a signed multiplication. In this multiplication, each individual bit of a first operand is multiplied by every bit of a second operand to generate partial multiplication results. Each partial result is shiftably added to other partial results except one partial result which is shiftably subtracted. For the partial result that is subtracted, the most significant bit of the second operand is negated and is utilized as carry in of the subtraction operation. The most significant bit of each operand is considered to have a negative sign when generating the partial multiplication results. The partial multiplication result, which was generated by multiplying the least significant bit of the first operand to every bit of the second operand, is appended with a most significant bit equal to the most significant bit of the second operand. Some embodiments implement this signed multiplication operation using a configurable IC that performs subtraction with the same circuitry and at the same cost as addition. The configurable IC also utilizes hybrid interconnect/logic circuits to perform part of the multiplication operation.

Some embodiments provide a reconfigurable IC that implements a design that is designed at a particular design clock rate. The reconfigurable IC includes reconfigurable circuits for performing operations on a set of inputs in the particular design. The IC further includes routing circuits for routing signals to and from the logic circuits to allow the logic circuits to perform the operations. The reconfigurable IC implements the design by having reconfigurable circuits that reconfigure at a rate faster than the design clock rate. For at least one operation which is defined at the design clock rate, the reconfigurable IC replicates the operation set in at least two reconfiguration cycles to reduce consumption of routing circuits.

Several more detailed embodiments of the invention are described in sections below. Before describing these embodiments further, an overview of the configurable IC architecture that is used by some of these embodiments is first described below in Section II. This discussion is followed by the discussion in Section III of the use of hybrid multiplexers to perform multiplication. Next, Section IV describes implementation of 2's complement multipliers. Next, Section V describes performing mathematical operations in multiple sub-cycles. Last, Section VI describes an electronics system that has an IC which implements some of the embodiments of the invention.

II. Configurable IC Architecture

A configurable integrated circuit (IC) is an IC that has configurable circuits. In some embodiments, a configurable IC includes configurable computational circuit (e.g., configurable logic circuits) and configurable routing circuits for routing the signals to and from the configurable computation units. In addition to configurable circuits, a configurable IC might include non-configurable circuits (e.g., non-configurable logic circuits, interconnect circuits, memories, etc.).

A configurable circuit is a circuit that can “configurably” perform a set of operations. Specifically, a configurable circuit receives “configuration data” that specifies the operation that the configurable circuit has to perform in the set of operations that it can perform. In some embodiments, configuration data is generated outside of the configurable IC. In these embodiments, a set of software tools typically converts a high-level IC design (e.g., a circuit representation or a hardware description language design) into a set of configuration data that can configure the configurable IC (or more accurately, the configurable IC's configurable circuits) to implement the IC design.

Examples of configurable circuits include configurable interconnect circuits and configurable logic circuits. A logic circuit is a circuit that can perform a function on a set of input data that it receives. A configurable logic circuit is a logic circuit that can be configured to perform different functions on its input data set.

A configurable interconnect circuit is a circuit that can configurably connect an input set to an output set in a variety of ways. An interconnect circuit can connect two terminals or pass a signal from one terminal to another by establishing an electrical path between the terminals. Alternatively, an interconnect circuit can establish a connection or pass a signal between two terminals by having the value of a signal that appears at one terminal appear at the other terminal. In connecting two terminals or passing a signal between two terminals, an interconnect circuit in some embodiments might invert the signal (i.e., might have the signal appearing at one terminal inverted by the time it appears at the other terminal). In other words, the interconnect circuit of some embodiments implements a logic inversion operation in conjunction to its connection operation. Other embodiments, however, do not build such an inversion operation in some or all of their interconnect circuits.

Reconfigurable IC's are one type of configurable IC's. Reconfigurable IC's are configurable IC's that can reconfigure during runtime. In other words, a reconfigurable IC is an IC that has reconfigurable logic circuits and/or reconfigurable interconnect circuits, where the reconfigurable logic and/or interconnect circuits are configurable logic and/or interconnect circuits that can “reconfigure” more than once at runtime. A configurable logic or interconnect circuit reconfigures when it receives a different set of configuration data. Some embodiments of the invention are implemented in reconfigurable IC's that are sub-cycle reconfigurable (i.e., can reconfigure circuits on a sub-cycle basis).

In some embodiments, runtime reconfigurability means reconfiguring without resetting the reconfigurable IC. Resetting a reconfigurable IC entails in some cases resetting the values stored in the state elements of the IC, where state elements are elements like latches, registers, and non-configuration memories (e.g., memories that store the user signals as opposed to the memories that store the configuration data of the configurable circuits). In some embodiments, runtime reconfigurability means reconfiguring after the reconfigurable IC has started processing of the user data. Also, in some embodiments, runtime reconfigurability means reconfiguring after the reconfigurable IC has powered up. These definitions of runtime reconfigurability are not mutually exclusive. Configurable and reconfigurable ICs are described in detail in U.S. patent application Ser. No. 11/081,859, U.S. Publication No. 2007-0241782 A1, “Configurable IC with Interconnect Circuits that also Perform Storage Operations”, filed on Mar. 15, 2005.

FIG. 2 conceptually illustrates a portion of the configurable circuit architecture of some embodiments of the invention. As shown in FIG. 2, this architecture is formed by numerous configurable tiles 205 that are arranged in an array with multiple rows and columns. In FIG. 2, each configurable tile includes a configurable three-input logic circuit 210, three configurable input-select interconnect circuits 215, and several configurable routing interconnect circuits 220. Different embodiments have different number of configurable routing interconnect circuits 220. For instance, some embodiments may have eight configurable routing interconnect circuits while others may have more or less such circuits. For each configurable circuit, the configurable IC 200 includes a set of storage elements for storing a set of configuration data.

In some embodiments, the logic circuits are look-up tables (LUTs) while the interconnect circuits are multiplexers. Also, in some embodiments, the LUTs and the multiplexers are sub-cycle reconfigurable circuits, as described in U.S. patent Application “Configurable IC with Routing Circuits with Offset Connections”, 11/082,193, U.S. Publication No. 2007-0241783 A1, filed on Mar. 15, 2005. In some of these embodiments, the configurable IC stores multiple sets of configuration data for a sub-cycle reconfigurable circuit, so that reconfigurable circuit can use a different set of configuration data in different sub-cycles. Other configurable tiles can include other types of circuits, such as memory arrays instead of logic circuits.

In FIG. 2, an input-select multiplexer 215 is an interconnect circuit associated with the LUT 210 that is in the same tile as the input select multiplexer. One such input select multiplexer receives input signals for its associated LUT and passes one of these input signals to its associated LUT.

In FIG. 2, a routing multiplexer (also referred to as an RMUX) 220 is an interconnect circuit that at a macro level connects other logic and/or interconnect circuits. In other words, unlike an input select multiplexer in this figure that only provides its output to a single logic circuit (i.e., that only has a fan out of 1), a routing multiplexer in some embodiments either provide its output to several logic and/or interconnect circuits (i.e., has a fan out greater than 1), or provides its output to other interconnect circuits.

In some embodiments, an RMUX is a complementary pass logic (CPL) implemented 8-to-1 multiplexer that has a latch built in its output stage. In a CPL implementation of a circuit, a complementary pair of signals represents each logic signal. In other words, the circuit receives true and complement sets of input signals and provides true and complement sets of output signals. To implement the latch function of an RMUX, the two (true and complement) outputs of the 8-to-1 multiplexer are cross coupled with two NMOS transistors that receive a latch enable signal at their gates. This implementation of an RMUX is further described in the above mentioned U.S. patent application Ser. No. 11/081,859.

In the architecture illustrated in FIG. 2, each tile includes one three-input LUT, three input select multiplexer and several routing multiplexers. In addition, every four tiles 225 share a carry logic circuit 230. In the examples used in this application, the term 4-LUT tile refers to four 1-LUT tiles with a common carry logic circuit. As mentioned above, each LUT is a three-input LUT. For each input, there is an input select multiplexer (IMUX) that selects the input from a variety of inputs.

In the embodiments described below, two of the three IMUXs are hybrid multiplexers called HUMUXs. An HUMUX (or HMUX for short) is a multiplexer that can receive “user-design signals” or configuration data. A user-design signal within a configurable IC is a signal that is generated by a circuit (e.g., logic circuit) of the configurable IC. The word “user” in the term “user-design signal” connotes that the signal is a signal that the configurable IC generates for a particular application that a particular user has configured the IC. User-design signal is abbreviated to user signal in some of the discussion below.

FIG. 34 illustrate an example of a sub-cycle configurable HUMUX 3400 that is implemented for a sub-cycle configurable IC of some embodiments of the invention. This example is a sub-cycle configurable HUMUX that is implemented in complementary pass logic (CPL) for a sub-cycle configurable IC. as mentioned above, in a CPL implementation of a circuit, a complementary pair of signals represents each logic signal. In other words, the circuit receives true and complement sets of input signals and provides true and complement sets of output signals.

As shown in FIG. 34, the HUMUX 3400 is an eight-to-one HUMUX that is formed by four multiplexers 3405, 3410, 3415, and 3420. The inputs and outputs of these multiplexers are shown as thick lines to indicate that each of these lines represents a CPL true/complement pair of lines.

As shown in FIG. 34, the multiplexer 3405 is an eight-to-one multiplexer that, on a sub-cycle basis, connects one of its input lines to its output line based on the values of the signals S2, S1, and S0′, which it receives along its three select lines. In response to three signals ST0, ST1, and CLK (which is not illustrated in FIG. 34), the multiplexer 3410 supplies two of the select signals S2 and S1 to the multiplexer 3405 on a sub-cycle basis. Specifically, based on the signals ST0 and ST1 that it receives on its select lines, the multiplexer 3410 connects one of its four three-bit input lines (each of which connects to a storage element 3425 that stores configuration data) to its three output lines. Hence, the three output lines of multiplexer 3410 provide three configuration select signals S2, S1, and S0. Two of these output lines connect to the third and second select lines of the multiplexer 3405, in order to provide the select signals S2 and S1.

The first output line of the multiplexer 34 10 carries the first select signal S0. This output line connects to one of the two input lines of the multiplexer 3420. The other input line of the multiplexer 3420 receives a user signal. Through its two input lines, the multiplexer 3420 receives two inputs on a sub-cycle basis. The multiplexer 3420 supplies one of its two inputs to its output line based on the signal that it receives on a sub-cycle basis on its select line from the multiplexer 3415. This output line connects to the first select line of the multiplexer 3405 to provide the select signal S0′. Hence, the signal S0′ is a signal that in each sub-cycle might be either a user signal or configuration-driven select signal S0.

Which of these signals gets routed to the multiplexer 3405 as the select signal S0′ depends on the value of the configuration data output from the multiplexer 3415 on a sub-cycle basis. The multiplexer 3415 is a four-to-one multiplexer that (1) has its four inputs connected to four storage elements storing four configuration data bits, and (2) has one output that receives one of the four configuration data bits in each sub-cycle based on the signals ST0 and ST1 supplied to the select lines of the multiplexer 3415. In some embodiments, one of the inputs to an HMUX is permanently inverted. This inversion can be especially advantageous when the input to some logic circuits need to be inverted.

In some embodiments, a user signal is not a configuration or clock signal that is generated by or supplied to the configurable IC. In some embodiments, a user signal is a signal that is a function of at least a portion of the configuration data received by the configurable IC and at least a portion of the inputs to the configurable IC. In these embodiments, the user signal can also be dependent on (i.e., can also be a function of) the state of the configurable IC. The initial state of a configurable IC is a function of the configuration data received by the configurable IC and the inputs to the configurable IC. Subsequent states of the configurable IC are functions of the configuration data received by the configurable IC, the inputs to the configurable IC, and the prior states of the configurable IC. HMUX structures are described in U.S. patent application Ser. No. 11/082,221, now U.S. Pat. No. 7,224,182, entitled “Hybrid Configurable Circuit for a Configurable IC”, filed on Mar. 15, 2005.

HMUXs are hybrid interconnect/logic circuits. In other words, HMUXs can serve as logic and interconnect circuits in a configurable IC. An HMUX (such as 3405) operates as an interconnect circuit when all its input select lines (S0-S2 for HMUX 3405) are configuration data and operates as a logic circuit when it receives at least one user signal on one of its input select lines (S0 for multiplexer 3405).

This hybrid quality is especially advantageous since, as logic circuits, HMUXs can be used to decompose and implement functions. In order to decompose and implement functions with HMUXs, some embodiments define one input of some or all HMUXs to be a permanently inverting input. The use of HMUX to decompose functions is further described in the above-mentioned U.S. patent application Ser. No. 11/082,221. This application also further describes the use of HMUXs for some or all of the input select multiplexers. It further describes the use of HMUXs as some or all of the routing multiplexers.

To reiterate, the embodiments described below are described by reference to a configurable IC that has a plurality of 3-input LUTs that are arranged in groups of four tiles as illustrated in FIG. 2. Each 3-input LUT has three associated input select multiplexers that select its inputs. Two of these three input select multiplexers are HMUXs. Each 1-LUT tile has eight routing multiplexers.

Even though the embodiments described below are described with reference to this specific architecture, one of ordinary skill in the art would realize that other embodiments might be implemented in configurable ICs with other architecture that utilize features of this architecture differently. For instance, some embodiments might use HMUXs differently (for example, they might not just use HMUXs as input select multiplexers but might use them as a part of routing multiplexers or other types of interconnects). Other embodiments might use other types of logic circuits other than LUTs and/or might use more complex LUTs such as 4-input or 5-input LUTs. Moreover, the interconnects in the other embodiments might not be multiplexers but might be other types of interconnects.

III. Use of HMUX for Multiplication

A. Multiplying a 2-Bit Value by an N-Bit Value Using 1-Bit Adders

In some embodiments, a 2-by-n multiplier is implemented using a series of 1-bit adders. FIG. 3 illustrates a 2-by-n bit unsigned multiplier 300 that is formed by several 1-bit adders 305-310 connected to each other. Each 1-bit adder receives three inputs bits and generates two output bits. The three input bits are the two 1-bit operands and the carry-in. The two output bits are sum and carry-out. The 1-bit adders illustrated in FIG. 3 are chained together by connecting the carry-out of each stage to the carry-in of the next stage.

The multiplier 300 multiplies two binary numbers A and B as multiplier and multiplicand respectively. The binary multiplier, A, has two bits A₀ and A₁. The binary multiplicand, B, has n bits, B₀ to B_(n−1) where B_(n−1) is the most significant bit. The multiplier 300 performs the multiplication by adding two n-bit numbers. The first n-bit number is generated by multiplying A₀ by B where a bit-wise multiplication of A₀ is done with individual bits of B. Each bit-wise multiplication is performed by one of the input AND gates 315-320.

Similarly, the second n-bit number is generated by multiplying A₁ by B where a bit-wise multiplication of A₁ is done with individual bits of B. This second n-bit number is shifted to the left by one position and is added to the first n-bit number described above. An example of the partial products generated in a 2-by-n bit multiplication is given below. In this example and throughout this application, the notion B_(j)A_(k) is used to denote bit j of binary number B multiplied by bit k of binary number A. If either or both bits are 0, the result would be 0. If both bits are 1, the result would be 1. Therefore, the bitwise multiplication denoted by B_(j)A_(k) is logical AND of the two bits B_(j) and A_(k). The following example shows the partial products generated by multiplying the n-bit multiplicand B by the 2-bit multiplier A.

B_(n−1) . . . B₃ B₂ B₁ B₀ A₁ A₀ B_(n−1)A₀ . . . B₂A₀ B₁A₀ B₀A₀ B_(n−1)A₁ B_(n−2)A₁ . . . B₁A₁ B₀A₁ B_(n−1)A₁₊C_(n−2) . . . B₁A₁₊B₂A₀₊C₁ B₀A₁₊B₁A₀ B₀A₀

In the above example, C_(i) is the carry generated after the i^(th) bit of the result is generated. As shown above, every bit of the multiplicand, B, is multiplied by A₀. This operation generates n partial results B₀A₀ to B_(n−1)A₀. Every bit of the multiplicand is also multiplied by A₁. Since A₁ has a weight of 2*A₀, the partial results generated by multiplying A₁ and B are shifted once to the left before they are added to the corresponding results generated by multiplying A₀ to B.

As illustrated in FIG. 3, each partial result, B_(j)A_(k), is generated by an AND gate 315-320 and the result is used as an input to one of the adders 305-310. The partial results are then added using the 1-bit adders 305-310. Since the least significant bit of the result, i.e., B₀A₀ does not involve an addition operation; it does not generate a carry. Furthermore, as illustrated in FIG. 3, this bit can either be generated by using an AND gate 315 to generate B₀A₀ and a LUT 305 as pass-through.

As indicated above, each 1-bit adder generates two 1-bit outputs, sum and carry-out. The “sum” output of the first adder (stage 0 adder) is A₀B₀. The “sum” output of other stages such as j, is (A₀B_(j))+(A₁B_(j−1))+C_(j−1). The carry-out of the first adder which is a pass-through LUT is always zero. The carry outputs of other adders depend on the values of the adder three inputs. The carry-out from the last adder is the most significant bit of the multiplication. If the multiplicand has n bits, the final result of the multiplication will have n+2 bits.

B. Utilizing 4-Bit Adders to Implement Multipliers

1. Use of 4-Bit Adders to Multiply a 2-Bit Value by a 4-Bit Value

As discussed above, several 1-bit adders can be chained together to implement a 2-by-n bit multiplier as illustrated in FIG. 3. This method of chaining the adders has the draw back that the carry has to ripple through the adder in the chain before the final result is generated. Some embodiments utilize a 4-bit adder to implement a 2-by-4 bit multiplier. As is described further below, some of these embodiments implement a 4-bit adder with fast carry logic shared among the logic circuits performing the 4-bit addition operation. FIG. 4 conceptually illustrates the use of a 4-bit adder 405 to implement a 2-by-4 bit multiplier 400. Similar to FIG. 3, AND gates 410-415 are utilized to AND each of the two bits of the binary multiplier A with individual bits of the multiplicand B. The output of the AND gates 410 are used as input to the 4-bit adder 405. The final output has 6 bits. The least significant bit of the final output is B₀A₀ which is the output of AND gate 410. Since as mentioned above, B₀A₀ is not added to any other bit, it can be directly sent to output without inputting it to the adder. From the other five bits of the result, the most significant bit of the multiplication is the carry out of the 4-bit adder. The other 4 bits of the result are the 4-bit “sum” output of the 4-bit adder.

Some embodiments define one common carry chain that is shared among four logic circuits in the tile layout. FIGS. 5A and 5B illustrate two such layouts 530 and 540. As shown in these figures, each layout includes four logic circuits (0-3) and a shared carry logic 505. In some embodiments, each layout such as 530 or 540 and its associated multiplexers are implemented using a group of four tiles in a configurable IC such as the 4-tile group 225 shown in FIG. 2.

One of the tiles in the 4-LUT tile group shown in FIG. 5B is used to implement an AND gate and a pass-through LUT similar to the AND gate 315 and the pass-through LUT 305. As illustrated in FIG. 5B, this tile has a LUT 510, one IMUX 575, and two HMUXs (515 and 565). The IMUX (575) and one of the HMUXs (for example, HMUX 565) are not needed to implement the AND operation. FIG. 5B illustrates one way of connecting these multiplexers to generate a logic 0 on their output. The AND gate is implemented by utilizing one of the HMUXs (for example, HMUX 515, as shown in FIG. 5B). FIG. 6 illustrates how an HMUX can be utilized to perform an AND operation. The HMUX 600 is configured by connecting the first input of the HMUX to 0, one of the AND operands (a) to the second input of the HMUX, and the other AND operand (c) to the HMUX control input. As shown by the logic table 605, the HMUX performs an AND operation on a and c.

Even though some of the figures and discussions in the rest of this specification refer to HMUXs as 2-to-1 multiplexers, as described above with reference to FIG. 34, some embodiments implement the HMUXs as 8-to-1 multiplexers. These HMUXs receive three select lines where two of the select lines always receive configuration data on sub-cycle basis, while the third select line may receive configuration data on some sub-cycles and user data in other sub-cycles. Given this, when an HMUX acts as a logic circuit, two of the select lines always receive configuration data which basically reduces the HMUX to a 2-to-1 multiplexer.

Using the configuration shown in FIG. 6, the AND operation of HMUX 515 in FIG. 5B is performed by connecting A₀ to the HMUX control line, the first input of the HMUX to 0, and the second input of the HMUX to B₀. When A₀ is 0, the output is set to the first input, i.e., to 0. When A₀ is 1, the output is set to the value of B₀. The HMUX is, therefore, operating as an AND gate. The LUT 510 acts as a pass through such that the output Ro of the LUT is the same as the output of AND gate 515. The other three LUTs (1-3) of the tile are not used for the addition operation and can be used for other operations.

As illustrated in FIGS. 5A and 5B, some embodiments define one common carry chain 505 that is shared among the four logic circuits (0-3). Use of such shared carry logic speeds up carry propagation during a multi-bit add operation. Other techniques to speed the carry logic circuitry such as the use of bypass circuitry and dual carry chains are described in detail in the above mentioned U.S. patent application Ser. No. 11/082,193. As shown in FIG. 5A, each logic circuit in layout 530 receives three input signals a_(i), b_(i), c_(i) through three input-select multiplexers. As described above, one of these multiplexers is an IMUX and the other two are HMUXs. During add or subtract operations, one of the inputs of each LUT (input c_(i) which the LUT receives through its associated IMUX) is one of the outputs of the carry logic 505.

Based on the three input signals that it receives, each LUT i expresses the result of its addition or subtraction operation in terms of (1) a function f_(i)(a_(i), b_(i), c_(i)) that is dependent on the three input signals, (2) a propagate signal P_(i) that equals (a_(i)⊕b_(i)) when a_(i) and b_(i) are added and equals ( a⊕b) when b_(i) is subtracted from a_(i), and (3) a generate signal G_(i) that equals (a_(i)·b_(i)) when a_(i) and b_(i) are added and equals (a_(i)· b_(i) ) when b_(i) is subtracted from a_(i). In the preceding, symbol · denotes logical AND and ⊕ denotes logical XOR operation.

During an add or subtract operation, each LUT i provides its propagate signal P_(i) and generate signal G_(i) to the carry logic 505. The carry logic 505 also receives a carry input C_(IN) through an RMUX 550 associated with the 4-LUT tile group. Based on its input signals, the carry logic 505 generates four carry signals C₀, C₁, C₂, and C₃, which it supplies to the four LUTs 0-3 during an add operation. The first carry signal C₀ equals the carry input C_(IN), which the carry logic 505 receives. In some embodiments, each other carry signal C_(i) produced by the carry logic 505 is derived from the propagate, generate, and carry signals from the previous stage LUT. For instance, in some embodiments, the carry signal C_(i) equals P_(i−1)C_(i−1)+G_(i−1), for cases where i can equal 1, 2, 3, 4 and the last carry signal C_(OUT) equals the carry signal C₄.

As illustrated in FIG. 5A, each LUT has three input select multiplexers (such as input select multiplexers 520, 525, and 528). One of these input select multiplexers is an IMUX and the other two are HMUXs. The input select that is an IMUX is utilized to connect the carry input to each LUT. For instance, IMUX 520 is utilized to connect carry input C1 to LUT 1. This multiplexer is configured as a pass through by connecting the carry input to its first input and setting the control input to 0. Therefore, this multiplexer always connects its first input to the output. The other input of the multiplexer is logical “don't care” and is designated with X.

The other two input select multiplexers of each LUT (such as input select multiplexers 525 and 528) are HMUXs that are utilized to produce the partial bit-wise AND products A_(j)B_(k). Each of these HMUXs receives one bit of the multiplier and one bit of the multiplicand. As described above, the HMUX functions as an AND gate when the multiplier bit is connected to the HMUX select line, the first input of the HMUX is set to 0, and the second input of the HMUX is connected to the multiplicand bit. As shown above, the partial product, B_(n−1)A₁, is added to other partial products. Therefore, in FIG. 5, the third HMUX 535 of LUT 3 generates a 0 as one of the inputs to the LUT. As shown further below, several 4-bit adders can be connected together to implement larger multipliers. In these multipliers, the LUT that generates the most significant bit of the result receives a 0 as one of its inputs.

The sharing of the carry logic and the clustering of the logic circuits 0-3 allow the tiles in the aligned tile layout 530 to form a fast four-bit adder/subtractor. FIG. 7 illustrates a 4-LUT tile 705 implementing the functions of 530 and its associated HMUXs. FIG. 7 also shows a single tile 710 and its associated HMUXs implementing the functions of the pass-through LUT 510 and its associated HMUX 515. The 4-LUT tile 705 and the single tile 710 implement a 2-by-4 bit unsigned multiplier such as multiplier 400.

2. Use of N-Bit Adders to Multiply an 2-Bit Value by an N-Bit Value

As described above, a 2-by-4 bit multiplier can be implemented by using one 4-bit adder (such as the adder shown in FIG. 5A) and one additional LUT (such as LUT 510) and its associated HMUX (such as 515). The use of this additional LUT 510 is required to perform the AND operation to implement B₀A₀. As shown below, the impact of this additional LUT is, however, diminished when larger (2-by-n-bit) multipliers are implemented.

In order to implement larger 2-by-n bit multipliers, several 4-bit adders/subtractors can be ganged together to implement larger 2-by-n bit multipliers. These adders/subtractors can be ganged with other adders/subtractors that are on the same topological row to form fast byte-wise adders/subtractors or other larger adders/subtractors (eight bit adders/subtractors, sixteen bit adders/subtractors, thirty-two bit adders/subtractors, etc.). As described below, these adders/subtractors can, for example, be used to implement m-by-n bit multipliers or perform multi-bit operations (such as comparison) that require subtraction.

FIG. 8 conceptually illustrates a 2-by-n bit multiplier of some embodiments. This multiplier is implemented by utilizing a 1-input LUT 825, one of LUT 825 HMUXs 815, several 4-bit adders 805-810, and the HMUXs 820 associated with the LUTs in the 4-bit adders 805-810. Each HMUX is configured to perform an AND operation as described above with reference to FIG. 6. To simplify the diagram, the HMUXs are shown with two inputs (a more detailed connection for one of the HMUXs is shown in circle 824). HMUX 824 shows a more detailed The 1-input LUT 825 is used as a pass-through. One of the associated HMUXs 815 of this LUT, is used as an AND gate to generate the least significant bit of the multiplication.

As shown in FIG. 8, the next four bits of the multiplication is generated by a 4-bit adder 805 which receives a carry input (C_(IN)) of 0. The carry-out (C_(OUT1)) of this adder is connected to the carry-in of the next 4-bit adder 810. Similarly, all other 4-bit adders 810 are ganged together by connecting the carry out of the previous 4-bit adder to the carry-in of the next adder. The carry-out 830 from the last 4-bit adder is the most significant bit of the multiplication. Several examples of using the architecture of FIG. 8 to implement specific 2-by-n multipliers are given in the following paragraphs. FIG. 9 conceptually illustrates two 4-bit adders 905 and 910 connected together to form a 2-by-8 bit multiplier 900 in some embodiments. The two adders are connected together by connecting the carry-out of the first adder 905 to carry-in of the second adder 910. The result is a 10 bit binary number.

As shown in FIG. 9, a group of HMUXs associated with the four LUTs in each 4-bit adder are utilized to perform the bitwise AND operations. Each one of these HMUXs 920 are configured as was described above with reference to FIG. 6. To simplify the diagram, the HMUXs are shown with two inputs (a more detailed connection for one of the HMUXs is shown in circle 917). The least significant bit of the multiplication is generated by the HMUX 915 and the pass-through LUT 925. The next 4 bits are the “sum” outputs of the first adder 905. The next 4 bits are the “sum” outputs of the second adder 910 and the most significant bit is the carry-out of the second adder 910.

FIG. 10 illustrates a portion of a configurable IC implementing the 2-by-8 bit multiplier of FIG. 9. As shown in FIG. 10, two 4-LUT tiles 1005 and a 1-LUT tile 1010 are connected together to form the 2-by-8 bit multiplier similar to multiplier. The tile 1010 in FIG. 10 is used to generate the least significant bit of the multiplication. A one-input LUT and one of its associated HMUXs in this tile are used to implement the HMUX 915 and the pass-through LUT 925 of FIG. 9.

Similarly, FIG. 11 illustrates a 2-by-16 bit multiplier implemented by utilizing four 4-LUT tiles with shared logics 1105 and a 1-LUT tile 1110. The group of four 4-LUT tiles 1105 is preferably located in the same topological row 1105 of the configurable IC layout to speedup carry propagation between the 4-LUT tiles. Similar to FIG. 10, the tile 1110 in FIG. 11 is used to generate the least significant bit of the multiplication. As shown in FIGS. 7, 10, and 11, in addition to the 4-LUT tiles required to perform the multiplication, each one of these multipliers requires only one extra 1-input LUT to generate the least significant bit of the multiplication. Therefore, as the size and complexity of the 2-bit adders increase, the proportion of the circuits used to generate this bit to the total circuits used to implement the multiplier decreases.

An n-bit adder can be implemented by connecting several adders with smaller number of bits. FIG. 12A illustrates an n-bit adder 1200 implemented by connecting several 4-bit adders 1205-1215 in some embodiments. The carry-out of each 4-bit adder is connected to carry-in of the next 4-bit adder. The output has n+1 bits. Adder 1205 generates the four least significant bits of the results. Adder 1215 generates the five most significant bits of the results. Carry-out of adder 1215 is the most significant bit of the result.

An n-bit subtractor can be implemented in a similar way. As described above with reference to FIG. 5, the same circuits that perform a 4-bit add operation can also perform a 4-bit subtraction operation. These 4-bit subtractors can be connected together as shown in FIG. 12A to implement n-bit subtractors. Some embodiments require C_(IN) (which is the borrow-in for the first 4-bit subtractor 1205) to be set to 1.

Although the examples given above were for multipliers that have a second operand with a multiple of four bits, with simple modifications, a 2-by-n bit multiplier with an arbitrary number for the second operand can be implemented. FIG. 12B illustrates three 1-bit adders 1220-1230 are added to the n-bit adder of FIG. 12A to implement an n+3 bit adder 1250. As shown, the carry out of the last 4-bit adder 1215 is connected to the carry-in of the first 1-bit adder. The carry-out of the first 1-bit adder 1220 is connected to carry-in of the second 1-bit adder 1225 and carry-out of the second 1-bit adder 1225 is connected to the carry-in of the third 1-bit adder 1230. The 1-bit output of each 1-bit adder 1220-1230 is used as a part of the multiplication result. The carry-out of the third 1-bit adder 1230 is the most significant bit of the multiplication.

Similarly by using only one 1-bit adder or only two 1-bit adders, an n+1 and n+2 bit adder can be implemented respectively. A multi-bit adder with an arbitrary number of bits (i.e., not a multiple of four) can be used to implement a 2-by-n bit multiplier where n is not a multiple of four. For instance, a 2-by-6 bit multiplier can be implemented by using one 4-bit adder and two 1-bit adders. Although FIG. 12B shows the 1-bit adders at the end of the adder chain, some embodiments implement the chain by arbitrarily mixing the 4-bit adders and 1-bit adders in the chain.

C. Use of More Complex Adders to Perform More Complex Multiplications

1. Multiplying Two 4-Bit Values

Some embodiments utilize the design illustrated in FIG. 12 to implement adders for adding values larger than four bits. These adders are used to implement more complex multipliers. For instance, a 6-bit-adder can be utilized to implement a 4-by-4 multiplier. As shown below, a 4-by-4 multiplier generates 16 partial results. If B is a 4-bit multiplicand and A is a 4-bit multiplier, the partial products generated are as follows:

B₃ B₂ B₁ B₀ A₃ A₂ A₁ A₀ B₃A₀ B₂A₀ B₁A₀ B₀A₀ B₃A₁ B₂A₁ B₁A₁ B₀A₁ B₃A₂ B₂A₂ B₁A₂ B₀A₂ B₃A₃ B₂A₃ B₁A₃ B₀A₃

FIG. 13 illustrates a 4-by-4 multiplier 1300 of some embodiments. This multiplier is comprised of two 2-by-4 bit multipliers 1305 and 1310 connected to a 6-bit adder 1310. The two multipliers are similar to multiplier 400 described in Section III above. The least significant 2 bits of the first multiplier 1305 is directly used as the least significant bits of the result. The other 4 bits of this multiplier are added to the 6 bits results of the second multiplier 910 which is equivalent of shifting the results of the second multiplier left by two bits before adding the two results. As shown in FIG. 13, the final multiplication result has 8 bits.

Some embodiments implement the 4-by-4 bit multiplier 1300 using a configurable IC. FIG. 14 illustrates one possible way of implementing this multiplier. The multiplier utilizes an individual tile 1405 and a 4-LUT tile 1410 to implement the first 2-by-4 bit multiplier in a similar fashion described above with reference to FIG. 7. Similarly, a second individual tile 1415 and a second 4-LUT tile 1420 are utilized to implement the second 2-by-4 bit multiplier. An individual tile 1425 and a group of 6 tiles 1430 are used to implement the 6-bit adder. Some embodiments implement a 6-bit by connecting a 4-bit adder such as adder 500 to two additional tiles to generate the extra two bits required for a 6-bit adder.

FIG. 14 is only one way of arranging tiles to implement a 4-by-4 bit multiplier. A person of ordinary skill in the art would realize that many other tile arrangements may be used. For instance, the three individual tiles 1405, 1415, and 1425 may be located anywhere in the IC layout without a major impact on overall performance.

The design of the 4-by-4 bit multiplier can be further generalized to implement m-by-n bit multipliers. In the next two subsections, two alternative ways of implementing such a multiplier are described.

2. Multiplying an M-Bit Value by an N-Bit Value

A. Same Size Adders Connected Together in Series

FIG. 15 conceptually illustrates how an m-by-n bit multiplier is implemented in some embodiments. As illustrated in FIG. 15, the m-by-n bit multiplier 1500 is comprised of several 2-by-n bit multipliers 1505 and several n+2 bit adders. Each 2-by-n bit multiplier 1505 is similar to the multiplier 800 discussed above. A partial result is generated by adding the output of each 2-by-n bit multiplier to the shifted output of the next multiplier in the chain. Since each multiplier 1505 performs a 2 bit multiplication, the output of the next multiplier must be shifted by 2 bits before being added.

As shown in FIG. 15, the shifting is done by directly outputting the 2 least significant bits of each multiplier 1505 and adding its n most significant bits to n+2 bits results of the next 2-by-n bit multiplier. The final n+m bit result is generated by utilizing an m−1 tree of n+2 bit adders 1510. This type of adder tree has the advantage of limiting the adder sizes to n+2 bits. The adder tree, however, requires m−1 adders. Another type of adder tree is a binary adder tree which will be described further below with reference to FIG. 17.

An example of utilizing the 2-by-n bit multiplier design of FIG. 15 to perform multiplication is illustrated in FIG. 16. Specifically, FIG. 16 illustrates a 2-by-16 bit multiplier implemented by eight 2-by-16 bit multipliers and seven 18-bit adders. As shown, the adders are all the same size and are connected in series. The multiplication result has 32 bits.

B. Progressively Larger Adders Connected Together in the Form of a Binary Tree

In some embodiments, an m-by-n bit multiplier is implemented in which the results of each pair of 2-by-n bit multiplier are added to generate n/2 partial results. These partial results are further added in a similar pair wise fashion to generate the final output. FIG. 17 illustrates an m-by-n bit multiplier 1700 of some embodiments. As shown in this figure, a series of 2-by-n bit multipliers 1702-1705 are utilized to generate n+2 bit partial products. Some embodiments implement these multipliers 1702-1705 using the design described above with reference to FIG. 8. The two least significant bits of the results are directly generated by the first multiplier 1702. The 18 bit outputs of all other multipliers 1705 are added using a binary tree of adders. As shown in FIG. 8, the m-by-n bit multiplier 1700 utilizes an adder tree with adders that can progressively add larger numbers. The advantage of this multiplier (to multiplier 1500) is that, for larger multipliers, using a binary tree of adders would generally require fewer levels of logic.

FIG. 18 illustrates a 16-by-16 bit multiplier 1800 in some embodiments that is implemented using the design shown in FIG. 17. As shown in FIG. 18, a series of 2-by-16 bit multipliers 1802-1805 are utilized to generate 18-bits partial products. The two least significant bits of the results are directly generated by the first multiplier 1802. The 18 bit outputs of all other multipliers 1805 are added using a binary tree of adders.

The first stage of the adder tree has four 18-bit adders 1810. The second stage has two 20-bit adders 1815 and 1820 and the last stage has one 24-bit adder 1825. The 2 least significant bits of the first adder stage and the 4 least significant bit of the second adder stage are directly used as output and the rest of the bits are added as shown in FIG. 18. This method of directly outputting a particular number of the least significant bits of a partial result before adding the rest of the bits to all bits of the next partial result is equivalent of shifting the next partial result by the same particular number of bits. For instance, directly outputting the least significant 4 bits of the first 20-bit adder 1815 and adding its remaining 20 bits to all 24 output bits of adder 1820 is equivalent of shifting the results of the second 20-bit adder 1820 before adding it to the result of first adder 1815. Similar to FIG. 14, an appropriate number of tiles can be allocated to implement the multiplier 1800 of FIG. 16 using a configurable IC.

IV. Two's Complement Multipliers

All multipliers described so far accept unsigned numbers as multiplicand and multiplier. A novel technique is presented in this Section that enables all these multipliers to accept 2's complement numbers as multiplier and multiplicand. The technique will be described by using a 4-by-4 multiplier as an example. A person of ordinary skill in the art would, however, be able to apply the teachings presented here to other types of multipliers to convert them from multipliers for unsigned numbers to multipliers for 2's complement numbers having other sizes of multipliers and multiplicands.

As described in Section III above, the partial results for a 4-by-4 bit unsigned multiplication are as follows:

B₃ B₂ B₁ B₀ A₃ A₂ A₁ A₀ B₃A₀ B₂A₀ B₁A₀ B₀A₀ B₃A₁ B₂A₁ B₁A₁ B₀A₁ B₃A₂ B₂A₂ B₁A₂ B₀A₂ B₃A₃ B₂A₃ B₁A₃ B₀A₃

In order to perform a signed multiplication, it should be noted that when generating the partial results, the most significant bits of the multiplier and multiplicand each have a negative weight. For instance in the 4-by-4 bit multiplication example, the two bits B₃ and A₃ each have a weight of −2³. The partial products for a 4-by-4 bit signed multiplication will, therefore, be as follows:

−B₃A₀ B₂A₀ B₁A₀ B₀A₀ −B₃A₁  B₂A₁ B₁A₁ B₀A₁ −B₃A₂  B₂A₂  B₁A₂ B₀A₂ B₃A₃ −B₂A₃ −B₁A₃ −B₀A₃

Instead of using an adder to add the last row of partial products, the sign of all partial products in that row can be negated and the row be subtracted from the previous row. The partial products would be as follows:

−B₃A₀ B₂A₀ B₁A₀ B₀A₀ −B₃A₁  B₂A₁ B₁A₁ B₀A₁ −B₃A₂  B₂A₂  B₁A₂ B₀A₂ −( B₃A₃  B₂A₃  B₁A₃  B₀A₃)

Next, for each negative entry, the technique replaces −B_(m)A_(n) as follows:

−B_(m)A_(n)=B_(m)(1−A_(n))−B_(m)=B_(m)Ā_(n)−B_(m), where Ā_(n) is negation or logical NOT of A_(n).

The technique further replaces −B_(m) with (−2B_(m)+B_(m)). Next, −2B_(m) is replaced by placing −B_(m) in the next higher column. Applying this technique to the partial products shown above, the partial products would be transformed to the following partial products:

B₃Ā₀ B₂A₀ B₁A₀ B₀A₀ −B₃ B₃ B₃Ā₁ B₂A₁ B₁A₁ B₀A₁ −B₃ B₃ B₃Ā₂ B₂A₂ B₁A₂ B₀A₂ −B₃ B₃ −( B₃Ā₃ B₂A₃ B₁A₃ B₀A₃) −(−B₃ B₃   )

Positive and negative values of B₃ in each column cancel each other. After applying the negative sign to the last row, the partial results would be as follows:

B₃Ā₀ B₂A₀ B₁A₀ B₀A₀ B₃ B₃Ā₁ B₂A₁ B₁A₁ B₀A₁ B₃Ā₂ B₂A₂ B₁A₂ B₀A₂ −( B₃Ā₃ B₂A₃ B₁A₃ B₀A₃) B ₃ −2B₃

As described above, the −2B₃ in a column can be replaced by a −B₃ in the next higher column. Therefore, B₃ in the last column and −2B₃ in the preceding column cancel each other. The partial product would be as follows:

B₃Ā₀ B₂A₀ B₁A₀ B₀A₀ B₃Ā₁ B₂A₁ B₁A₁ B₀A₁ B₃Ā₂ B₂A₂ B₁A₂ B₀A₂ −( B₃Ā₃ B₂A₃ B₁A₃ B₀A₃) B₃

The B₃ in the bottom row is easier to work with if it is replaced by 2B₃−B₃. By doing this, 2B₃ is represented as a B₃ entry in the next higher column (which has few entries to add) and −B₃ term is worked into the borrow-in (C_(in)) of the subtractor for the bottom row. The partial products would be as follows:

B₃ B₃Ā₀ B₂A₀ B₁A₀ B₀A₀ B₃Ā₁ B₂A₁ B₁A₁ B₀A₁ B₃Ā₂ B₂A₂ B₁A₂ B₀A₂ −( B₃Ā₃ B₂A₃ B₁A₃ B₀A₃) −B₃

For the subtractor, X−Y is implemented as X+ Y+1, where +1 is the borrow-in (C_(in)). In order to factor −B₃ into C_(in), the value of −B₃ is added to the existing borrow of +1 which results in C_(in)=+1−B₃= B ₃. Also, since the subtrahend is positive, the subtraction requires a leading 0. Some embodiments omit this leading 0 by inverting the carry-out of the subtractor in the carry block.

The final partial products that need to be generated and added or subtracted from each other are as follows:

B₃ B₃Ā₀ B₂A₀ B₁A₀ B₀A₀ B₃Ā₁ B₂A₁ B₁A₁ B₀A₁ 0 0 B₃Ā₂ B₂A₂ B₁A₂ B₀A₂ −(0 B₃Ā₃ B₂A₃ B₁A₃ B₀A₃) C_(in) = B ₃

FIG. 19 conceptually illustrates implementation of the 4-by-4 signed multiplier of the above example in some embodiments. The partial products B_(j)A_(k) and B_(j)Ā_(k) are implemented by utilizing AND gates (such as 1905-1910) and AND gates with one of their inputs negated (such as 1912). The 4-bit adder 1915 adds the top two row of the example above. The subtractor 1920 subtracts the fourth row from the third row. The B ₃ entry of the fifth row is implemented by the NOT gate 1930. The output of this NOT gate is used as the carry-in (borrow-in) of the 4-bit subtractor 1920. The output of the AND gate 1905 is used as the least significant bit of the results. Also, the least significant bit of the 4-bit adder 1915 is set out as the second least significant bit of the result. The remaining 4 bits of adder 1915 results are added to the 6-bit output of subtractor 1920. The 1-bit subtractor 1935 is used to invert the carry-out of the subtractor.

FIG. 20 illustrates an implementation of multiplier 1900 in some embodiments using a configurable IC. The 4-tile group 2005 implements the 4-bit adder 1915. The 4-tile group 2010 implements the 4-bit subtractor 1920. The 6-tile group 2015 implements the 6-bit adder 1925. Also, some individual tiles such as tiles 30, 31, and 32 are used to implement the 1-bit subtractor 1935, and the two AND gates 1905-1908 and their associated pass-through LUTs. The AND gates (such as 1905-1910), the NOT gate 1930, and the AND gates with one negated input (such as 1910) are implemented by HMUXs in some embodiments.

An HMUX implementing an AND gate was described with reference to FIG. 6, above. FIG. 21 illustrates how a NOT gate (such as 1930) is implemented using an HMUX 2105. The first input of the HMUX 2105 is set to 1 and its second input is set to 0. The bit value to be negated is connected to the select line of the HMUX 2105. If the bit value is 0, the output would be 1. Similarly, if the bit value is 0, the output would be 1. HMUX 2105 would, therefore, function as a NOT gate.

FIG. 21 also illustrates how an HMUX 2110 is used to operate as and AND gate with one of its inputs negated. The value to be negated is connected to the select line of the HMUX 2110. The other input of the AND gate is connected to the first input of the HMUX 2110. The second input of the HMUX is set to 0. The HMUX 2110 would operate as an AND gate with one of its inputs negated.

V. Performing Mathematical and Logical Operations in Multiple Sub-Cycles

As described in Section II above, a configurable IC is an IC that has configurable circuits and a reconfigurable IC is an IC that can reconfigure during runtime. A reconfigurable IC is utilized in some embodiments to save space or to speedup the operation or both.

A. Implementing an Adder/Subtractor Using Reconfigurable ICs and Sub-Cycles

As described above with reference to FIG. 12, more complex adders can be implemented using 4-bit adders. Also, as described in Section III above, one 4-LUT group and one additional 1-input LUT can be used to implement either a 4-bit adder or a 4-bit subtractor. Therefore, the implementation 1200 shown in FIG. 12 can also operate as a subtractor. The LUTs can be configured to either perform an add or a subtraction operation. In the following discussion, an adder is used as an example. A person of ordinary skill in the art, however, would be able to apply the same discussion to implement a subtractor.

FIG. 22 conceptually illustrates a 16-bit adder implemented by connecting four 4-bit adders in some embodiments. The carry-out of the first 4-bit adder 2205 is connected to carry-in of the next 4-bit adder 2210. The output has seventeen bits. Adder 2205 generates the four least significant bits of the results. Adder 2215 generates the five most significant bits of the results. Carry-out of adder 2215 is the most significant bit of the result.

FIG. 23 illustrates how a 16-bit adder is implemented in some embodiments utilizing a reconfigurable IC. The 16-bit addition is performed in four sub-cycles. In each sub-cycle, a 4-bit partial result is generated and stored. The 4-LUT tile is reconfigured and is utilized to generate the next partial result. The carry-out of each sub-cycle is used as carry-in of the next sub-cycle. The last sub-cycle generates four bit of addition result and one bit carry-out which is the most significant bit of the 16-bit addition result.

More specifically, after the first sub-cycle in FIG. 23, the least significant four bits of the final result are generated and latched for the duration of the operation. The carry out generated in the first sub-cycle is latched and is used as the carry in of the second sub-cycle. Subsequently, the second sub-cycle generates and latches the second four bits of final result for the duration of the operation. The carry out generated in this sub-cycle is latched and is used as the carry in of the third sub-cycle. Similarly, the third sub-cycle generates and latches the third four bits of the results for the duration of the operation. The carry out of the third sub-cycle is latched and is used as the carry in of the fourth sub-cycle. Finally, the fourth sub-cycle generates the next four bits of the result. The carry out of the fourth sub-cycle is the most significant bit of the result. The final 17 bits of the result consists of the carry out and the four bits of results generated during the last sub-cycle and the three 4-bit partial results generated and latched during sub-cycles one through three.

A person of ordinary skill in the art would realize that the same 16-bit addition may be performed in different number of sub-cycles and with different number of tiles. For instance, the same operation may be performed in two sub-cycle using two 4-LUT tiles. Other adders with different number of bits are also readily implemented in a similar fashion as shown in FIG. 22 and FIG. 23.

B. Implementing a Multiplier Using Reconfigurable ICs and Sub-Cycles

1. 2-by-N Multipliers

As described in Section III above, in some embodiments, a multiplier such as 900 is implemented by utilizing a configurable IC as illustrated in FIGS. 11 and 10. The multiplier implemented in FIG. 10 requires 9 tiles. In some embodiments, if the individual tiles or the sets of 4 tiles can operate faster than the primary clock, it would be possible to reconfigure the same set of tiles to perform different operations during different sub-cycles.

For instance, as illustrated in FIG. 24, if the primary clock runs at ×MHz but each individual tile or each set of 4 tiles can operate at 4×MHz clock rate, only 4 tiles would be required to implement the 2-by-8 bit multiplier of FIG. 10. For simplicity, FIG. 24 only shows a portion of the same reconfigurable IC during different sub-cycles. Three sub-cycles are needed to perform the multiply operation. However, these three sub-cycles need not be consecutively done during the 4 sub-cycle period. In some embodiment, for example, sub-cycles 1, 2, and 3 out of four may be used. In some other embodiments, sub-cycles 1, 3, and 4 or 2, 3, and 4 may be used.

As illustrated in FIG. 24, in the first sub-cycle, tile 3 (2405) is used to compute A₀B₀. The four tile group 1-4 (2410) is then reconfigured and is used in the second sub-cycle to perform a 4-bit add operation. The same tile group is then reconfigured and is used in the third sub-cycle to perform the second add operation. At the end of each sub-cycle, the results are latched and are either used in the subsequent sub-cycles or are used for generating the final output. A person of ordinary skill in the art would realize that other ways of implementing the same multiplier is possible. For instance, if the tiles can only operate at twice the speed of the primary clock, the whole operation can be performed in 2 sub-cycle by using five tiles. In the first sub-cycle a group of 4-LUT tiles and one individual tile can be used to generate A₀B₀ and perform the first addition operation. In the next sub-cycle, the same 4-LUT tile may be used to perform the second addition operation.

Similarly, other 2-by-n bit multipliers may be implemented using a reconfigurable IC. For instance, if the tiles can operate in multiple clock rate of the primary clock rate, a 2-by-16 bit multiplier may be implemented by using a 4-LUT tile in 5 sub-cycles. The 5 sub-cycles may be part of a 6 sub-cycle or 8 sub-cycle, or n sub-cycle operation. The same multiplier may be implemented using a 4-LUT tile and one individual tile in 4 sub-cycles. In a similar fashion as described above, the individual tile and the 4-LUT tile will generate A₀B₀ and the result of one of the additions in a sub-cycle. The same 4-LUT tile will be used in 3 other sub-cycles to generate the result of the other three 4-bit additions required to perform the 2-by-16 multiplication. It will be obvious to a person of ordinary skill in the art that other combination of tiles or sub-cycles may be utilized to implement same or other 2-by-n multipliers.

2. M-by-N Multipliers

Some embodiments implement the m-by-n bit multipliers described in Section III above and the two's complement multiplier described in Section IV above, by utilizing a reconfigurable IC. In these embodiments, a set of logic circuits the perform a particular operation in one sub-cycle can be reconfigured to perform different operations in other sub-cycles. For example, the 16-by-16 bit multiplier 1800 described in Section III is implemented in some embodiments by utilizing a reconfigurable IC. Table 1 illustrates many ways of implementing a 16-bit by 16-bit unsigned multiplier depending on factors such as the primary (or user) clock frequency, number of available sub-cycles, required maximum latency, multiplicand and multiplier sizes, and the amount of serialization that can be performed.

Some embodiments that can divide the multiplication into a more serial fashion convert the stage 3 adder 1825 into an accumulator in which the outputs of the stage 2 adders 1815 are accumulated to perform the stage 3 addition function. Some embodiments perform further serialization by merging both stage 2 adders 1815-1820 and stage 3 adder 1825 into an accumulator stage. Yet, some other embodiments even merge stage 1 adders 1810, stage 2 adders 1820, and stage 3 adder 1825 into a single accumulator. Table 1 tabulates different mapping results for implementing the 16-by-16 bit adder 1800 in different embodiments. Similarly, a two's complement multiplier (such as multiplier 1900) can be implemented using different number of spacetime LUTs and different number of sub-cycles. In some embodiments, if the individual tiles or groups of tiles can operate faster than the primary clock, each one of multi-bit adders and subtractors in a two's complement multiplier (such as subtractor 1920 and adders 1915 & 1925) can be configured to operate on a sub-cycle basis.

TABLE 1 Multiplier Mapping Results Through- put Clock Latency (Multipli- Space- Rate Space- (Sub- cations/ time (MHz) time cycles) cycle) LUTs Implementation 400 2 6 1/2 272 Full parallel 400 2 6 2/2 544 Full parallel 400 2 7 1/2 296 STAGE3ADD con- verted to accumulator 200 4 6 1/4 272 Full parallel 200 4 6 2/4 544 Full parallel 200 4 6 4/4 1088 Full parallel 200 4 7 1/4 296 STAGE3ADD con- verted to accumulator 200 4 7 2/4 592 STAGE3ADD con- verted to accumulator 200 4 7 1/4 288 STAGE2ADD, STAGE3ADD con- verted to accumulator 100 8 6 1/8 272 Full parallel 100 8 6 2/8 544 Full parallel 100 8 6 3/8 816 Full parallel 100 8 6 4/8 1088 Full parallel 100 8 6 5/8 1360 Full parallel 100 8 6 6/8 1632 Full parallel 100 8 6 7/8 1904 Full parallel 100 8 6 8/8 2176 Full parallel 100 8 7 1/8 296 STAGE3ADD con- verted to accumulator 100 8 7 2/8 592 STAGE3ADD con- verted to accumulator 100 8 7 4/8 1184 STAGE3ADD con- verted to accumulator 100 8 7 1/8 288 STAGE2ADD, STAGE3ADD con- verted to accumulator 100 8 7 2/8 576 STAGE2ADD, STAGE3ADD con- verted to accumulator 100 8 9 1/8 280 STAGE1ADD, STAGE2ADD, and STAGE3ADD con- verted to accumulator 100 8 16 1/16 256 16 1-bit partial pro- ducts summed over 16 Sub-cycles

C. Add-Compare-Select Function

The Add-Compare-Select (ACS) function is a key building block in the Viterbi decoding algorithm. Viterbi decoding is an important algorithm in engineering fields such as wireless digital communications systems. The overall speed of a Viterbi decoder is largely determined by the speed of the ACS unit. Multiple ACS units are required for fast parallel implementations.

FIG. 25 illustrates a block diagram of an ACS unit in some embodiments. As illustrated in this figure, an ACS unit is comprised of two adders 2505, two saturate units 2510, one compare unit 2515, and one select unit 2520. Each adder 2505 receives two positive inputs. The two inputs are added and the results are sent to corresponding saturate units that ensure the values are capped at a maximum level rather than wrapping around. The two outputs of the saturate units 2510 are compared by the compare unit 2515. The output of the compare unit is connected to the select line of the select unit 2520 in such a way that the smaller of the two values compared is sent to the output of the select unit. As illustrated in FIG. 26, some embodiments use a different set of saturate units 2605 to saturate the output of the adders 2505 and connecting the results to the input of the select unit 2525. As will be described further below, the compare and select functions are implemented by LUTs and saturate function is performed by the HMUXs. Since each LUT is associated with several HMUXs, replicating the saturate function does not add any space overhead and would speed up the execution of the ACS unit.

FIG. 27 conceptually illustrates how the block diagram of FIG. 26 is implemented in some embodiments. As an example, the diagram in FIG. 27 depicts the inputs to the adders as 8-bit numbers. A person of ordinary skill in the art, however, would recognize that any number of bits may be used for the input values without deviating from what is described here.

In some embodiments, the saturate function 2715 is implemented by a bank of HMUXs configured as OR gates. FIG. 28 illustrates how a bank of OR gates 2800 perform the saturate function. The carry-out of the adders 2705 indicates whether the addition result has to be saturated. A carry-out value of 1 indicates that the result has exceeded the 8-bit maximum, in which case the results should be forced to all 1's. On the other hand, a carry-out value of 0 indicates that the results has not reached the maximum and the output of the addition should remain unchanged

In FIG. 28, the carry-out of a particular adder is connected as one of the inputs of each OR gate 2805 in the bank of eight OR gates 2800. The other input of each OR gate 2805 is connected to one of the output bits of the particular adder. If the carry out is 0, the output O₀-O₇ of the OR gates 2805 will be the same as their input bits I₀-I₇. If, on the other hand, the carry-out of the adder is 1, the output bits O₀-O₇ of all OR gates will be set to 1.

Some embodiments implement the bank of OR gates 2800 by utilizing HMUXs. Each HMUX 2825 in the HMUX bank 2815 is configured by connecting the carry-out 2820 of the adder to its select line. The first input line I₀-I₇ of each HMUX 2825 receives one of the adder output bits. The second input line of each HMUX is set to 1. With this configuration, each HMUX operates as an OR gate, i.e., the only time that the output bit of an HMUX 2825 is 0 would be when both the select line and the first input are 0.

Referring back to FIG. 27, the compare function is implemented by an 8-bit subtractor. The borrow-out of the subtractor is used as the control line of the select function. The borrow-out is used to set the output of the select unit to the smaller of the two values that are being compared. The select function is implemented by utilizing an 8-bit multiplexer. Detailed techniques of implementing n-bit multiplexer using 2-bit HMUXs are described in the above-mentioned U.S. patent application Ser. No. 11/082,221. In some embodiments, the ACS unit shown in FIG. 27 is implemented by utilizing groups of configurable IC tiles where both subtractors used to implement the compare function and the multiplexer used to implement the select function are configured utilizing LUTs. FIG. 29 illustrates the block diagram of one such implementation 2900. Four groups of eight 1-LUT tiles are utilized to implement the ACS. Each adder 2905 is implemented by one group of eight tiles 2910. The two saturate units 2925 and the compare unit 2930 are implemented by one group 2935 of eight 1-LUT tiles. The two saturate units 2920 and the select unit 2940 are implemented by another group 2945 of eight 1-LUT tiles. FIG. 30 illustrates one way of allocating tiles to implement ACS 2900 in some embodiments. The groups of eight 1-LUT tiles 3005 and 3010 are utilized to implement the two adders. The two groups of eight 1-LUT tiles 3015 and 3020 are utilized to implement the two blocks 2935 and 2945 shown in FIG. 29.

If the eight 1-LUT tiles can operate on a faster clock rate than the primary clock, some embodiments can save on the number of tiles used by performing the operation of each group of 8-tiles in a different sub-cycle. For instance, FIG. 31 illustrates a block diagram of how the ACS resources are allocated in some embodiments using four sub-cycles. FIG. 32 illustrates how tiles in a reconfigurable IC of some embodiments may be allocated to implement block diagram of FIG. 31.

As shown in FIG. 32, the same group of tiles 3205 is used in four different sub-cycles to perform the two add, the saturate/compare, and the saturate/select functions. One important aspect of the ACS design of the embodiments described above is the fact that adding the extra two saturate units 2605 of FIG. 26 did not add any time or space overhead. Specifically, the extra space available in the eight 1-LUT tile group 3205 is utilized to perform the two saturate operations during the fourth sub-cycle. Also, the corresponding saturate operations are performed in the same sub-cycle as the select operation. Therefore, due to the special features of the configurable IC disclosed, the addition of the two extra saturate operations did not add any extra overhead. Instead, it enhanced the overall performance by utilizing the available HMUXs in each tile to avoid extra routing of the output of one saturate unit to both compare and select units. Specifically, the configurable IC discussed enables efficient replication of multiple functions across several sub-cycles within the same logic and routing resource. Another feature shown in FIG. 32 is utilizing the same circuits to perform mathematical operations (such as add or compare) in some sub-cycles and logical operations (such as select) in other sub-cycles.

In the example described above by reference to FIGS. 25-32, a saturate function is replicated in two sub-cycles. In each of these sub-cycles, the saturation function is implemented by a set of HMUXs. One of ordinary skill in the art will realize, however, that a function can be replicated in more than two sub-cycles. Also, different types of logic circuits might implement a function in the same or different sub-cycles. For instance, the saturate function illustrated in FIG. 26 can be implemented by a set of logic circuits in the third sub-cycle, and a set of HMUXs in the fourth sub-cycle. In the fourth sub-cycle, the output of the set of HMUXs would then be provided to a set of logic circuits that implement the select operation. Even this implementation of the saturate function (with the logic circuits in the third sub-cycle and the HMUXs in the fourth sub-cycle) is advantageous, as it uses HMUXs in the signal path to the logic circuits that perform the select operation. In other words, this implementation does not waste routing and logic resources to replicate the saturation function in the fourth sub-cycle.

VI. Electronics System

FIG. 33 conceptually illustrates a more detailed example of an electronics system 3300 that has an IC 3305, which implements some of the above described inventions (such as using hybrid interconnect/logic circuits to do multiplication, using hybrid interconnect/logic circuits to enable efficient replication of a function in several sub-cycles, performing two's complement multiplication, and performing mathematical operations in sub-cycles). The system 3300 can be a stand-alone computing or communication device, or it can be part of another electronic device. As shown in FIG. 33, the system 3300 not only includes the IC 3305, but also includes a bus 3310, a system memory 3315, a non-volatile memory 3320, a storage device 3325, input devices 3330, output devices 3335, and communication interface 3340. In some embodiments, the non-volatile memory 3320 stores configuration data and re-loads it at power-up. Although the non-volatile memory 3320 is shown outside of the IC 3305, in some embodiments, the non-volatile memory is either on the same die or the same package as the IC 3305.

The bus 3310 collectively represents all system, peripheral, and chipset interconnects (including bus and non-bus interconnect structures) that communicatively connect the numerous internal devices of the system 3300. For instance, the bus 3310 communicatively connects the IC 3310 with the non-volatile memory 3320, the system memory 3315, and the permanent storage device 3325.

From these various memory units, the IC 3305 receives data for processing and configuration data for configuring the IC's configurable logic and/or interconnect circuits. When the IC 3305 has a processor, the IC also retrieves from the various memory units instructions to execute. The non-volatile memory 3320 stores static data and instructions that are needed by the IC 3310 and other modules of the system 3300. The storage device 3325, on the other hand, is read-and-write memory device. This device is a non-volatile memory unit that stores instruction and/or data even when the system 3300 is off. Like the storage device 3325, the system memory 3315 is a read-and-write memory device. However, unlike storage device 3325, the system memory is a volatile read-and-write memory, such as a random access memory. The system memory stores some of the instructions and/or data that the IC needs at runtime.

The bus 3310 also connects to the input and output devices 3330 and 3335. The input devices enable the user to enter information into the system 3300. The input devices 3330 can include touch-sensitive screens, keys, buttons, keyboards, cursor-controllers, microphone, etc. The output devices 3335 display the output of the system 3300.

Finally, as shown in FIG. 33, bus 3310 also couples system 3300 to other devices through a communication interface 3340. Examples of the communication interface include network adapters that connect to a network of computers, or wired or wireless transceivers for communicating with other devices. One of ordinary skill in the art would appreciate that any other system configuration may also be used in conjunction with the invention, and these system configurations might have fewer or additional components.

While the invention has been described with reference to numerous specific details, one of ordinary skill in the art will recognize that the invention can be embodied in other specific forms without departing from the spirit of the invention. For example, although numerous embodiments were described by reference to flat tile architectures, one of ordinary skill in the art will realize that these embodiments could be implemented in other configurable IC architectures.

Also, in some embodiments, the position of many circuits (e.g., of routing and input-select interconnects in aligned tile layouts) are topologically illustrated in the figures. The actual physical location of these circuits may be different in different embodiments. For instance, in a computation aligned tile layout that has logic circuits and routing and input-select interconnects, some embodiments positions (1) the logic circuits in the center of the aligned tile layout, (2) position the input-select interconnects above, below, to the right, and to the left of the centrally located logic circuits, and (3) position the routing interconnects in the remaining corner areas of the aligned tile layout with other circuits.

Many embodiments described above include input select interconnects for the logic circuits. Other embodiments, however, might not use such interconnects. Thus, one of ordinary skill in the art would understand that the invention is not to be limited by the foregoing illustrative details, but rather is to be defined by the appended claims. 

1. A reconfigurable integrated circuit (“IC”) that implements a first design that is designed at a first design clock rate, the reconfigurable IC comprising: a plurality of reconfigurable logic circuits for configurably performing operations on a set of inputs in the first design; and a plurality of configurable routing circuits for configurably routing signals to and from said logic circuits to allow the logic circuits to perform said operations; wherein the reconfigurable IC implements the design by having reconfigurable circuits that reconfigure at a rate faster than the first design clock rate; wherein for at least one operation defined at the first design clock rate, the reconfigurable IC replicates the operation in two reconfiguration cycles to reduce consumption of routing circuits.
 2. The reconfigurable IC of claim 1, further comprising: a plurality of sets of input select interconnect circuits for selecting inputs supplied to each configurable logic circuit; wherein said replicated operation is performed by input select interconnect circuits both in said first reconfiguration cycle and in said second reconfiguration cycle.
 3. The reconfigurable IC of claim 1, further comprising: a plurality of sets of input select interconnect circuits for selecting inputs supplied to each configurable logic circuit; wherein said replicated operation is performed by configurable logic circuits in said first reconfiguration cycle and by input select interconnect circuits in said second reconfiguration cycle.
 4. The reconfigurable IC of claim 1, further comprising: a plurality of input select interconnect circuits for selecting inputs supplied to each configurable logic circuit; wherein a set of reconfigurable circuits and their associated input select interconnect circuits perform a first operation in a first reconfiguration cycle and a second operation in a second reconfiguration cycle.
 5. The reconfigurable IC of claim 4, wherein said set of reconfigurable circuits and their associated input select circuits perform a third operation in a third reconfiguration cycle.
 6. The reconfigurable IC of claim 4, wherein a same set of reconfigurable circuits and their associated input select circuits perform a mathematical operation in one reconfiguration cycle and a logic operation in another reconfiguration cycle.
 7. The reconfiguration IC of claim 6, wherein said mathematical operation is one of add and compare; wherein said logic operation is one of saturate and select.
 8. A reconfigurable integrated circuit (“IC”) comprising: a plurality of reconfigurable circuits for performing a set of operations in more than one reconfiguration cycle; wherein at least one operation performed in a first reconfiguration cycle is repeated in at least one subsequent reconfiguration sub-cycle without requiring additional circuits and without increasing an overall execution of the set of operations.
 9. The reconfigurable IC of claim 8, wherein said reconfigurable circuits comprise: a plurality of reconfigurable logic circuits; and a plurality of input select interconnect circuits for selecting inputs supplied to each reconfigurable logic circuit; wherein said replicated operation is performed by input select interconnect circuits both in said first reconfiguration cycle and in said subsequent reconfiguration cycle.
 10. The reconfigurable IC of claim 9, wherein said replicated operation is performed by reconfigurable logic circuits in one reconfiguration cycle and by input select interconnect circuits in another reconfiguration cycle.
 11. The reconfigurable IC of claim 8, wherein a set of configurable circuits and their associated input select interconnect circuits perform a first operation in a first reconfiguration cycle and a second operation in a second reconfiguration cycle.
 12. The reconfigurable IC of claim 11, wherein said set of configurable circuits and their associated input select circuits perform a third operation in a third reconfiguration cycle.
 13. The reconfigurable IC of claim 11, wherein a same set of configurable circuits and their associated input select circuits perform a mathematical operation in one reconfiguration cycle and a logic operation in another reconfiguration cycle.
 14. An electronics system comprising: a reconfigurable integrated circuit (“IC”) that implements a first design that is designed at a first design clock rate, the reconfigurable IC comprising: a plurality of reconfigurable logic circuits for configurably performing operations on a set of inputs in the first design; and a plurality of configurable routing circuits for configurably routing signals to and from said logic circuits to allow the logic circuits to perform said operations; wherein the reconfigurable IC implements the design by having reconfigurable circuits that reconfigure at a rate faster than the first design clock rate; wherein for at least one operation defined at the first design clock rate, the reconfigurable IC replicates the operation in two reconfiguration cycles to reduce consumption of routing circuits.
 15. The electronics system of claim 14, wherein the reconfigurable IC further comprises: a plurality of sets of input select interconnect circuits for selecting inputs supplied to each configurable logic circuit; wherein said replicated operation is performed by input select interconnect circuits both in said first reconfiguration cycle and in said second reconfiguration cycle.
 16. The electronics system of claim 14, wherein the reconfigurable IC further comprises: a plurality of sets of input select interconnect circuits for selecting inputs supplied to each configurable logic circuit; wherein said replicated operation is performed by configurable logic circuits in said first reconfiguration cycle and by input select interconnect circuits in said second reconfiguration cycle.
 17. The electronics system of claim 14, wherein said replicated operation is performed by input select interconnect circuits both in said first reconfiguration cycle and in said second reconfiguration cycle.
 18. The electronics system of claim 14, wherein said replicated operation is performed by configurable logic circuits in said first reconfiguration cycle and by input select interconnect circuits in said second reconfigurable cycle.
 19. The electronics system of claim 14 further comprising a non-volatile memory for storing configurable data and for supplying configuration data to the configurable IC when the configurable IC powers up.
 20. The electronics system of claim 19, wherein the non-volatile memory and the configurable IC are on different IC dies.
 21. The electronics system of claim 19, wherein the non-volatile memory and the configurable IC are on the same IC die. 